package com.cc.service.Impl;

import com.cc.entity.Book_category;
import com.cc.mapper.Book_categoryMapper;
import com.cc.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    Book_categoryMapper bookCategoryMapper;
    @Override
    public List<Book_category> selectAll(String bookName, String author) {
        return bookCategoryMapper.selectAll();
    }
}
